<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>css类选择器</title>
		<style>
			.h{
				font-size: 30px;
				color: deeppink;
				text-decoration: none;
			}
			#d1{
				font-size: 60px;
				font-weight: 100;
				color: #0000FF;
			}
		</style>
	</head>
	<body>
		<h1 id="d1">大家好，我是刘老师</h1>
		<p>
			<a class="h" href="https://www.baidu.com">淘宝</a>
		</p>
		<div class="h">水浒传</div>
		<div class="h">荡寇志</div>
		<div class="h">平妖传</div>
		<p id="d1">回到明朝当王爷</p>
		<p  class="h">寻秦记</p>
	</body>
</html>
